home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
11255
/
11255.xpi
/
chrome
/
content
/
config.template.js
< prev
Wrap
Text File
|
2009-12-17
|
2KB
|
56 lines
/* ***** BEGIN LICENSE BLOCK *****
*
* Pearltrees add-on AMO, Copyright(C), 2009, Broceliand SAS, Paris, France
* (company in charge of developing Pearltrees)
*
* This file is part of ΓÇ£Pearltrees add-on AMOΓÇ¥.
*
* Pearltrees add-on AMO is free software: you can redistribute it and/or modify it under the
* terms of the GNU General Public License version 3 as published by the Free Software Foundation.
*
* Pearltrees add-on AMO is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with Pearltrees add-on AMO.
* If not, see <http://www.gnu.org/licenses/>
*
* ***** END LICENSE BLOCK ***** */
// Configuration file
//
// You should copy this file in a new file config.js and then update
// the following parameters in order to match your local configuration.
//
/////////////////////////////////////////////////////////////////////////////////
var base = '@BRO_DOMAIN@@BRO_ROOT_URL@'; //ex: broceliand.fr/dev
var publicUrlDomain = 'www';
const BRO_ADDON_SOURCE_SELFHOSTED = 1;
const BRO_ADDON_SOURCE_AMO = 2;
const BRO_ADDON_SOURCE = BRO_ADDON_SOURCE_SELFHOSTED;
var privateServices = 's';
var selfhostedService = 'collectorFirefox';
var amoService = 'collectorAmo';
const BRO_SERVICE_URL = 'http://' + publicUrlDomain + '.' + base + '/' + privateServices + '/';
if(BRO_ADDON_SOURCE == BRO_ADDON_SOURCE_AMO) {
var serviceUrlForSource = BRO_SERVICE_URL + amoService + '/';
}else{
var serviceUrlForSource = BRO_SERVICE_URL + selfhostedService + '/';
}
const BRO_SERVICE_FF_URL = serviceUrlForSource;
const BRO_PUBLIC_URL = 'http://' + publicUrlDomain + '.' + base;
const BRO_AMO_FILE_URL = 'https://addons.mozilla.org/downloads/latest/11255/addon-11255-latest.xpi';
const BRO_AMO_SOURCE = 'external-selfhost';
const BRO_AMO_VERSION_CHECK = 'https://versioncheck.addons.mozilla.org/update/VersionCheck.php';
const BRO_ADDON_ID = 'collector@broceliand.fr';